package kitBox;

import gameFrame.ButtonPanel;
import gameFrame.HardnessPanel;
import gameFrame.SavePanel;

public class PanelProducer 
{	
	private static PanelProducer mbp = new PanelProducer();
	public static PanelProducer getManuButtonProducer()
	{
		return mbp;
	}
	
	
	public ButtonPanel[] createButtons(int number)
	{
		ButtonPanel[] bps = new ButtonPanel[3];
		for(int c = 0 ; c < number ; c ++)
		{
			bps[c] = new ButtonPanel(c);
		}
		return bps;
	}
	
	public SavePanel[] createSavePanel(int number)
	{
		SavePanel[] sps = new SavePanel[number];
		for(int c = 0 ; c < sps.length ; c++)
		{
			sps[c] = new SavePanel(c);
		}
		return sps;
	}
	public HardnessPanel[] createHardnessPanel(int number)
	{
		HardnessPanel[] hdps = new HardnessPanel[number];
		for(int c = 0 ; c < hdps.length ; c++)
		{
			hdps[c] = new HardnessPanel(c);
		}
		return hdps;
	}
	
	
}

